package com.cz.zslu.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 登录统计
 * </p>
 *
 * @author Bruce
 * @since 2018-10-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("login_statistics")
public class LoginStatistics extends SuperEntity<LoginStatistics> {

    private static final long serialVersionUID = 1L;

    /**
     * 是否删除 0：有效，1 删除
     */
    @JSONField(serialize = false)
    @TableLogic
    @JsonIgnore
    private Integer state = 0;


    /**
     * userId
     */
    @ApiModelProperty("userId")
    @TableField("user_id")
    private Long userId;






}
